<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2015-5-23
 * Time: 13:36
 */

namespace doumiaoduo\artdialog;


use yii\web\AssetBundle;

class ArtDialogAsset extends AssetBundle{

    public $sourcePath = '@doumiaoduo/artdialog/assets';
    public $css = [
        'ui-dialog.css',
    ];

    public $depends = [
        'yii\web\JqueryAsset',
    ];

    public function init(){
        $this->js=YII_DEBUG?['dialog.js','dialog-plus.js']:['dialog.min.js','dialog-plus.min.js'];
    }
}